package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.Planunit;
import com.woniuxy.factory.entity.ResponseResult;

import java.util.List;
import java.util.Map;

public interface PlanUnitService {
    ResponseResult<List<Planunit>> getPlanUnit(Planunit planunit,int page,int limit);

    ResponseResult addPlanUnit(String prpId,String prdId,int pnumber);

    ResponseResult deleteplanunits(int[] plaIds,String prpId);

    ResponseResult<Map> getPlanUnitById(int plaId);

    ResponseResult updatePlanUnit(Planunit planunit,String prdId);
}
